@import "../../styles/lux.less";

@bg-grey: #f5f5f5;
@border-grey: #e5e5e5;
@icon-get: #7fcdbd;
@star-orange: #f8b62d;
@star-grey: #c8c8c8;
@textarea-blue: #66bcec;

//统一的按钮样式
.weui-btn_plain-orange {
  background-color: @star-orange;
  color: #fff;
  border: 1px solid @star-orange;
}

.weui-btn_plain-orange:not(.weui-btn_plain-disabled):active {
  background-color: rgba(248, 182, 45, .6);
  color: #fff;
  border-color: rgba(248, 182, 45, .6);
}

.header {
  background: #fff;
  border-bottom: 1px solid @border-grey;
  padding: 0.07rem 0.1rem;
  .row {
    display: -webkit-box; /* 老版本语法: Safari, iOS, Android browser, older WebKit browsers. */
    display: -webkit-flex; /* 新版本语法: Chrome 21+ */
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    .lux-icon-get, .name, .address {
      display: inline-block;
      font-size: 14px;
      color: #333;
    }
    .lux-icon-get {
      width: 0.3rem;
      height: 0.3rem;
      background: @icon-get;
      color: #fff;
      font-size: 0.16rem;
      border-radius: 0.3rem;
      text-align: center;
      padding-top: 0.01rem;
    }
    .name {
      width: 0.7rem;
      padding-left: 0.1rem;
      height: 0.3rem;
      line-height: 0.3rem;
      overflow: hidden;
    }
    .address {
      -webkit-box-flex: 1;
      -webkit-flex: 1;
      flex: 1;
      padding-left: 0.1rem;
      height: 0.3rem;
      line-height: 0.3rem;
      overflow: hidden;
    }
  }
}

body {
  display: block;
  padding-bottom: 10px;
  box-sizing: border-box;
  -moz-box-sizing: border-box; /* Firefox */
  -webkit-box-sizing: border-box; /* Safari */
  #app {
    background: @bg-grey;
  }
  .mt10 {
    margin-top: 10px;
  }
  .mb10 {
    margin-bottom: 10px;
  }
  .detail-top-border {
    border-top: 1px solid @border-grey;
  }
  .detail-bottom-border {
    border-bottom: 1px solid @border-grey;
  }
  a.weui-btn {
    margin-top: 10px!important;
    margin-left: 10px;
    margin-right: 10px;
    background: #f8b62d;
    line-height: 2!important;
  }
}

.dialog {
  background: #fff !important;
  .weui-cells, .weui-cells__title {
    margin-top: 0 !important;
    &:after {
      display: none !important;
    }
  }
  .content {
    .comment-title {
      -webkit-tap-highlight-color: transparent;
      font-size: 16px;
      line-height: 45px;
      color: #333;
      text-align: center;
      border-bottom: 1px solid @border-grey;
      .icon-cha {
        float: left;
        font-size: 12px;
        color: #c8c8c8;
      }
    }
    .comment-star {
      -webkit-tap-highlight-color: transparent;
      text-align: center;
      line-height: 70px;
      & > .icon-star {
        font-size: 27px;
        color: @star-grey;
        &:not(:first-child) {
          margin-left: 10px;
        }
      }
      .orange {
        color: @star-orange;
      }
    }
    .comment-textarea {
      margin: 0 10px;
      border: 1px solid @textarea-blue;
      border-radius: 4px;
      padding: 10px 10px;
      font-size: 14px;
      &:placeholder {
        color: #999;
      }
    }
  }
  .btn-block {
    padding-right: 10px;
    padding-left: 10px;
    margin-bottom: 10px;
    margin-top: 16px;
    .btn {
      background: @star-orange;
      color: #fff;
      padding: 10px 20px;
      font-size: 16px;
      border-radius: 6px;
    }
  }
}

